package org.example.exampreparationtreasure.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("exam_paper_questions")
public class ExamPaperQuestion implements Serializable {
    @TableId(value = "association_id", type = IdType.AUTO)
    private Long associationId;
    
    private Long paperId;
    private Long questionId;
    private Integer questionOrder;  // 题目在试卷中的顺序号
    private BigDecimal questionScore;  // 本题在试卷中的分值
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}